﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Model;
using YouHP.BLL;
using YouHP.Utility;

namespace YouHP.Pages
{
    public class ViewSymptom : BasePage
    {
        public SymptomInfo mSymptomInfo;
        public List<SymptomStatDiseaseCount> mStatPatientCountLst;
        public List<SymptomStatSeverityCount> mStatSeverityLst;

        protected override void ShowPage()
        {
            base.ShowPage();
           
            int symid  = RequestTools.GetQueryInt("symid", -1);
            if (symid != -1)
            {
                mSymptomInfo = SymptomBLL.Instance.GetSymptomInfo(symid);
                mStatPatientCountLst = SymptomBLL.Instance.GetSymptomStatDisease(symid);
                mStatSeverityLst = SymptomBLL.Instance.GetSymptomStatSeverity(symid);
            }

            //this.SeoTitle = mSymptomInfo.Name;
            this.PageTitle = "症状";
        }
    }
}
